import vscode from "./vscodeHelp";


let refesh = document.getElementById("refesh");
console.log(refesh);
if (refesh) {
    refesh.onclick = () => {
        vscode.go("/html/index.html");
    }
}


(async () => {
    let path = await vscode.getFilePath();
    let file = await vscode.readFile(`${path}\\mymodule.lua`);
    let workDir = await vscode.getWorkDir();
    console.log(file);
    console.log(workDir);
    console.log(await vscode.getFiles(workDir))
})()

